{# Logs (overseer_logs): one page's Logs section, or Overseer > Logs over every service (``logs_services`` to tick, ``logs_links`` for each line's page). The window's lines, newest first unless the order says otherwise, the filters that chose them, and new lines added over SSE at the newest end while it is open, unless paused (a paused line is dropped). Oldest first, the column-reverse scroller keeps that end in view as lines arrive. Above them, the window's volume (``logs.volume``): a bar per slice, stacked by tone, that narrows the lines to its time; a drag across bars narrows to all of them, and the bars behind the lines on screen are marked as the list scrolls (``data-range``, ``data-range-of`` in app.js). Only the window asks the server again: every other filter, the order and a range narrow the lines already here (``data-facets`` in app.js), new ones included, and keep their state in the URL. #} {% from "components/macros/form.html" import action, checklist, filter_input, range_chips, select %} {% set newest_first = logs_order == "desc" %}
{{ logs.note }}
{% else %} {% if logs.volume %} {% set peak = [1] + logs.volume|map(attribute="total")|list %}{% set peak = peak|max %}No lines in this window yet; new ones appear as they are written.
{% endif %} {% endif %}